package com.ruoyi.cs.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * ROLL房间信息对象 t_roll
 * 
 * @author ruoyi
 * @date 2021-03-25
 */
@Data
public class TRoll extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ROLL房ID */
    @ApiModelProperty(value = "ROLL房ID")
    private String rollId;

    /** ROLL房名称 */
    @ApiModelProperty(value = "ROLL房名称")
    @NotBlank
    @Excel(name = "ROLL房名称")
    private String rollName;

    /** ROLL房类型 */
    @ApiModelProperty(value = "ROLL房类型")
    @NotBlank
    @Excel(name = "ROLL房类型")
    private String rollType;

    /** ROLL房图片 */
    @ApiModelProperty(value = "ROLL房图片")
    @NotBlank
    @Excel(name = "ROLL房图片")
    private String rollPic;

    /** ROLL房描述 */
    @ApiModelProperty(value = "ROLL房描述")
    @Excel(name = "ROLL房描述")
    private String rollDescribe;

    /** ROLL房模式 */
    @ApiModelProperty(value = "ROLL房模式")
    @Excel(name = "ROLL房模式")
    private String rollModel;

    /** ROLL房门槛类型 */
    @ApiModelProperty(value = "ROLL房门槛类型")
    @NotBlank
    @Excel(name = "ROLL房门槛类型")
    private String rollMkType;

    /** ROLL房密码 */
    @ApiModelProperty(value = "ROLL房密码")
    @Excel(name = "ROLL房密码")
    private String rollPwd;

    /** ROLL房关注门槛 */
    @ApiModelProperty(value = "ROLL房关注门槛")
    @Excel(name = "ROLL房关注门槛")
    private String rollGzMk;

    /** ROLL房充值门槛 */
    @ApiModelProperty(value = "ROLL房充值门槛")
    @Excel(name = "ROLL房充值门槛")
    private BigDecimal rollCzMk;

    /** ROLL房时间段内充值门槛 */
    @ApiModelProperty(value = "ROLL房时间段内充值门槛")
    @Excel(name = "ROLL房时间段内充值门槛")
    private BigDecimal rollFwczMk;

    /** ROLL房时间段内开始时间 */
    @ApiModelProperty(value = "ROLL房时间段内开始时间")
    @Excel(name = "ROLL房时间段内开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date rollStartTime;

    /** ROLL房时间段内结束时间 */
    @ApiModelProperty(value = "ROLL房时间段内结束时间")
    @Excel(name = "ROLL房时间段内结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date rollEndTime;

    /** ROLL房自动开奖时间 */
    @ApiModelProperty(value = "ROLL房自动开奖时间")
    @NotNull
    @Excel(name = "ROLL房自动开奖时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date rollZdkjTime;

    /** ROLL房状态 */
    @ApiModelProperty(value = "ROLL房状态")
    @Excel(name = "ROLL房状态")
    private String rollStatus;

    /** 排序 */
    @ApiModelProperty(value = "排序")
    @Excel(name = "排序")
    private String sort;

    /** 参与人数上限 */
    @ApiModelProperty(value = "参与人数上限")
    @Excel(name = "参与人数上限")
    private String cyNumberlimit;

    /** 自动开奖模式 0 到时间开奖 1 满人后开奖 */
    @ApiModelProperty(value = "自动开奖模式 0 到时间开奖 1 满人后开奖 ")
    @Excel(name = "自动开奖模式 0 到时间开奖 1 满人后开奖")
    private String drawPriceType;

    /** 首页展示 0 不需要 1  2 */
    @ApiModelProperty(value = "首页展示 0 不需要 1  2 ")
    @Excel(name = "首页展示 0 不需要 1  2")
    private String homeExhibition;

    /** 删除标志 */
    @ApiModelProperty(value = "删除标志")
    @Excel(name = "删除标志")
    private String delFlag;

    /** 版本号 */
    @ApiModelProperty(value = "版本号")
    @Excel(name = "版本号")
    private Long version;

    /**后台标志*/
    @ApiModelProperty(value = "后台标志")
    private String backStage;

    @ApiModelProperty(value = "服务端种子")
    private String serverSeed;

}
